package bean;

public class Message {
    private String name;
    private String message;
    private long timestamp;

    public Message() {}

    public Message(String name, String message) {
        this.name = name;
        this.message = message;
    }

    // getters / setters
    public String getName() { return name; }
    public void setName(String name) { this.name = name; }

    public String getMessage() { return message; }
    public void setMessage(String message) { this.message = message; }

    public long getTimestamp() { return timestamp; }
    public void setTimestamp(long timestamp) { this.timestamp = timestamp; }
}
